#!/usr/bin/python
# -*- coding: utf-8 -*-

response.menu = [['首页', True, URL(r=request, a='welcome', c='default', f='index')], ['淘宝易', False, URL(r=request, a='sip', c='default', f='index')], ['other',False, URL(r=request,f='other')]]

# # sample index page with internationalization (T)
def index():
    response.flash = T('Welcome to ikeapad.cn')
    return dict(message=T('欢迎'))


# # uncomment the following if you have defined "auth" and "crud" in models
# def user(): return dict(form=auth())
# def data(): return dict(form=crud())
# def download(): return response.download(request,db)
# # tip: use @auth.requires_login, requires_membership, requires_permission
